const {
	Controller
} = require("uni-cloud-router");
module.exports = class BookController extends Controller {
	// 搜索笔趣阁书籍
	async searchBqg() {

		return await this.service.book.searchBqg();
	}
	//获取书籍目录
	async getBookCata() {
		return await this.service.book.getBookCata();
	}




	//获取章节内容
	async getBookContent() {
		
		return await this.service.book.getBookContent();
	}
	//获取内容信息，不走缓存
	async getBookContentWithOutCache() {
		return await this.service.book.getBookContentWithOutCache();
	}
	async uploadError() {
		return await this.service.book.insertBookError();
	}
};